﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.WebNemo.Business.DataTypes {
    internal class NULLDataType : INemoDataType {

        #region Fields

        private static NULLDataType nullInst = new NULLDataType();

        #endregion

        #region Properties

        internal static NULLDataType Get {
            get { return nullInst; }
        }

        #endregion

        #region Constructors

        private NULLDataType() {
        }

        #endregion

        #region Methods

        public object ConvertFromDatabase(object adoObject) {
            return adoObject;
        }

        public object ConvertToDatabase(object typeObject) {
            return typeObject;
        }

        #endregion

    }
}
